package com.itheima.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    //TODO 注入service对象

    @GetMapping("/db")
    public String testDbConnection() {
        //TODO 调用业务层
        return null;
    }
}